﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Minlogin.aspx.cs" EnableViewState="false"
    Inherits="Card.Web.Minlogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=this.AreaDesc %>  login_<%=SiteName %></title>
    <link href="css/layout.css" type="text/css" rel="Stylesheet" />
    <link href="css/login.css" type="text/css" rel="Stylesheet" />

    <script src="JavaScript/jquery-1.8.3.min.js" type="text/javascript"></script>

    <script type="text/javascript">
    function setLoginInfo(name){
        var ele = $(window.parent.document).find(".login_before").filter(":first");
        
        if(ele.length > 0 && name && name != "" && '<%=this.Passport.IsLogin.ToString().ToUpper() %>' == "TRUE")
        {
            ele.html("[您好，<a target='_blank' href='/Member/Account.aspx'>"+name+"</a>！<a href='/Logout.aspx'>退出</a>]");            
        }
    }
    </script>

    <style type="text/css">
        body { background-color: #EEEEEE; }
        p { margin-top: 10px; height: 36px; }
    </style>
</head>
<body style="background-color: #EEEEEE">
    <form id="form1" runat="server">
    <div style="margin-top: 20px;">
        <h2 style="padding-left: 0px; text-align: center;">
            登&nbsp;录</h2>
        <p>
            <span class="text">登录名：</span>
            <asp:TextBox ID="txtLoginName" CssClass="input" MaxLength="50" runat="server"></asp:TextBox>
        </p>
        <p>
            <span class="text">密码：</span>
            <asp:TextBox ID="txtLoginPW" CssClass="input" MaxLength="20" runat="server" TextMode="Password"></asp:TextBox>
        </p>
        <p>
            <span class="text">&nbsp;</span><input type="checkbox" checked="checked" runat="server"
                id="autologin" />
            <label>
                自动登录
            </label>
            <a href="FindPW.aspx" target="_blank">忘记密码？</a>&nbsp;&nbsp;<a href="/Register.aspx" target="_blank">还没有账号？</a>
        </p>
        <p>
            <span class="text">&nbsp;</span>
            <asp:Button ID="btnLogin" runat="server" CssClass="button" Text="登  录" />
        </p>
    </div>
    </form>
</body>
</html>
